package HomeWork1WalkMazePro;

import java.util.ArrayList;

public class Role {
    private char role;
    private int blood;
    private int attackPoints;

    private Weapon weapon;
    private Potion potion;
    private  Armor armor;

    private ArrayList<Equipment> bag;

    public ArrayList<Equipment> getBag() {
        return bag;
    }

    public void setBag(ArrayList<Equipment> bag) {
        this.bag = bag;
    }

    public Role() {
    }
    public Role(char role  ) {
        this.role = role;
        this.blood = 100;//鍒濆瀛﹂噺涓�100
        this.attackPoints = 20;//鍒濆鏀诲嚮鍊间负20
    }

    public char getRole() {
        return role;
    }

    public void setRole(char role) {
        this.role = role;
    }

    public int getBlood() {
        return blood;
    }

    public void setBlood(int blood) {
        this.blood = blood;
    }

    public Weapon getWeapon() {
        return weapon;
    }

    public void setWeapon(Weapon weapon) {
        this.weapon = weapon;
    }

    public Potion getPotion() {
        return potion;
    }

    public void setPotion(Potion potion) {
        this.potion = potion;
    }

    public Armor getArmor() {
        return armor;
    }

    public void setArmor(Armor armor) {
        this.armor = armor;
    }

    public int getAttackPoints() {
        return attackPoints;
    }

    public void setAttackPoints(int attackPoints) {
        this.attackPoints = attackPoints;
    }


}
